package net.cmkj.mine.interceptor;

import com.jfinal.aop.Interceptor;
import com.jfinal.aop.Invocation;

public class ExceptionInterceptor implements Interceptor {

	public void intercept(Invocation inv) {
		try {
			inv.invoke();
		} catch (Exception e) {
			System.out.println("系统异常："+e.toString());
			e.printStackTrace();
		}
	}

}
